package com.youxin.cpcenter.service;

import com.youxin.busfoundation.bean.ResponseObject;
import com.youxin.busfoundation.bean.ent.RequestCompanyInfoBean;
import com.youxin.busfoundation.common.es.bean.RequestCooperateBean;
import com.youxin.busfoundation.common.es.bean.RequestRiskwarnBean;
import com.youxin.busfoundation.common.es.bean.RequestStrengthBean;
import com.youxin.cpcenter.bean.RequestCompanyBean;
import com.youxin.cpcenter.model.TbCompanyInfo;

/**
 * @ClassName: CompanyInfoService
 * @Description: 企业
 * @author Kris.wang
 * @date 2017年11月20日 下午14:01:41
 */
public interface CompanyInfoService {

	/**
	 * @Title: copyEsToCompany
	 * @Description: 下载ES数据到业务数据库
	 * @param @param bean
	 * @return
	 * @throws
	 */
	public TbCompanyInfo copyEsToCompany(RequestCompanyBean bean) throws Exception;

	/**
	 * @Title: companyInfo
	 * @Description: 企业画像-基本信息
	 * @param @param bean
	 * @return
	 * @throws
	 */
	public ResponseObject companyInfo(RequestCompanyInfoBean bean);

	/**
	 * @Title: searchCooperate
	 * @Description: 企业画像-商务合作
	 * @param requestBean
	 * @return
	 * @throws Exception
	 */
	public ResponseObject searchCooperate(RequestCooperateBean requestBean);

	/**
	 * @Title: companyRiskwarn
	 * @Description: 企业画像-风险预警
	 * @param @param bean
	 * @return
	 * @throws
	 */
	public ResponseObject companyRiskwarn(RequestRiskwarnBean bean);

	/**
	 * @Title: companyStrength
	 * @Description: 企业画像-企业实力
	 * @param @param bean
	 * @return
	 * @throws
	 */
	public ResponseObject companyStrength(RequestStrengthBean bean);

	/**
	 * @Title: isExist
	 * @Description: 根据企业UID判断企业是否已存在
	 * @param @param companyUid
	 * @return
	 * @throws
	 */
	public int isExist(String companyUid);

	/**
	 * @Title: companyMe
	 * @Description: 我的企业信息
	 * @return
	 * @throws
	 */
	public ResponseObject companyMe();

}
